package com.twsjw.entity;

import java.sql.Timestamp;

/**
 * Houseinfo entity. @author MyEclipse Persistence Tools
 */

public class Houseinfo implements java.io.Serializable {

	// Fields
	private Street street;
	private District district;
	private Integer houseId;
	private Userinfo userinfo;
	private Integer streetId;
	private Integer room;
	private Integer hall;
	private String remark;
	private Double price;
	private String title;
	private Timestamp date;
	private String telephone;
	private String contractMan;
	private Double area;
	private Integer floor;
	private String ownerName;
	private String ownerType;
	private String houseType;
	private Integer houseAge;

	// Constructors
	public Houseinfo(Integer room, Integer hall, String remark, Double price,
			String title, Timestamp date, String telephone, String contractMan,
			Double area, Integer floor, Integer houseAge) {
		super();
		this.room = room;
		this.hall = hall;
		this.remark = remark;
		this.price = price;
		this.title = title;
		this.date = date;
		this.telephone = telephone;
		this.contractMan = contractMan;
		this.area = area;
		this.floor = floor;
		this.houseAge = houseAge;
	}
	/** default constructor */
	public Houseinfo() {
	}

	public Street getStreet() {
		return street;
	}

	public void setStreet(Street street) {
		this.street = street;
	}

	/** full constructor */
	public Houseinfo(District district, Userinfo userinfo, Integer streetId,
			Integer room, Integer hall, String remark, Double price,
			String title, Timestamp date, String telephone, String contractMan,
			Double area, Integer floor, String ownerName, String ownerType,
			String houseType, Integer houseAge) {
		this.district = district;
		this.userinfo = userinfo;
		this.streetId = streetId;
		this.room = room;
		this.hall = hall;
		this.remark = remark;
		this.price = price;
		this.title = title;
		this.date = date;
		this.telephone = telephone;
		this.contractMan = contractMan;
		this.area = area;
		this.floor = floor;
		this.ownerName = ownerName;
		this.ownerType = ownerType;
		this.houseType = houseType;
		this.houseAge = houseAge;
	}

	// Property accessors

	public Integer getHouseId() {
		return this.houseId;
	}

	public void setHouseId(Integer houseId) {
		this.houseId = houseId;
	}

	public District getDistrict() {
		return this.district;
	}

	public void setDistrict(District district) {
		this.district = district;
	}

	public Userinfo getUserinfo() {
		return this.userinfo;
	}

	public void setUserinfo(Userinfo userinfo) {
		this.userinfo = userinfo;
	}

	public Integer getStreetId() {
		return this.streetId;
	}

	public void setStreetId(Integer streetId) {
		this.streetId = streetId;
	}

	public Integer getRoom() {
		return this.room;
	}

	public void setRoom(Integer room) {
		this.room = room;
	}

	public Integer getHall() {
		return this.hall;
	}

	public void setHall(Integer hall) {
		this.hall = hall;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Timestamp getDate() {
		return this.date;
	}

	public void setDate(Timestamp date) {
		this.date = date;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getContractMan() {
		return this.contractMan;
	}

	public void setContractMan(String contractMan) {
		this.contractMan = contractMan;
	}

	public Double getArea() {
		return this.area;
	}

	public void setArea(Double area) {
		this.area = area;
	}

	public Integer getFloor() {
		return this.floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public String getOwnerName() {
		return this.ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnerType() {
		return this.ownerType;
	}

	public void setOwnerType(String ownerType) {
		this.ownerType = ownerType;
	}

	public String getHouseType() {
		return this.houseType;
	}

	public void setHouseType(String houseType) {
		this.houseType = houseType;
	}

	public Integer getHouseAge() {
		return this.houseAge;
	}

	public void setHouseAge(Integer houseAge) {
		this.houseAge = houseAge;
	}

}